//
// C++ Interface: snapshotmanager
//
// Description: 
//
//
// Author:  <>, (C) 2008
//
// Copyright: See COPYING file that comes with this distribution
//
//
#ifndef SNAPSHOTMANAGER_H
#define SNAPSHOTMANAGER_H

#include <qobject.h>
#include <QHash>
#include <QString>
#include <kservice.h>
/**
	@author 
*/

class BackendInterface;
class Snapshot;

class SnapshotManager : public QObject
{
public:
    SnapshotManager();

    ~SnapshotManager();

    bool executeSnapshot(Snapshot *s);

private:
    QHash<QString,BackendInterface *> m_backendhash;

    void loadBackends();
    BackendInterface *createBackend(KService::Ptr newService);
};

#endif
